package com.barry.download.util;

import android.os.Environment;

/**
 * 作 者: Tom·barry<br>
 * 文件描述:
 */
public class Constants
{
    /**
     * 访问此地址
     */
    public static final String REQ_URL = "http://zhangmenshiting.baidu.com/data2/music/102796291/8930817375600320.mp3?xcode=436847bc9e4799808b299dc9f48f6ed10a331205e4921354";
    /**
     * 响应字段：code
     */
    public static final String RESPONSE_CODE = "code";

    /**
     * 响应字段code的值：200
     */
    public static final int RESPONSE_CODE_200 = 200;
    /**
     * 响应字段code的值：400
     */
    public static final int RESPONSE_CODE_400 = 400;
    /**
     * 响应字段code的值：400
     */
    public static final int RESPONSE_CODE_401 = 401;
    /**
     * 响应字段code的值：500
     */
    public static final int RESPONSE_CODE_500 = 500;
    /**
     * 是否是测试模式，测试模式联网请求全部使用假数据
     */
    public static final boolean isTest = false;
    public static final String APP_DATA_PATH = Environment.getExternalStorageDirectory()
                                               + "/" + "barryDemos";

}
